<template>
  <div class="page-home">
    <!-- left -->
    <div class="left ">
      <div class="top ">
        <Card title="数据中间使用情况" />
      </div>
      <div class="bottom ">
        <Card title="业务系统总表数TOP5" />
      </div>
    </div>

    <!-- center -->
    <div class="center ">
      <div class="top">
        <Card theme="theme3" title="中间那一坨"/>
      </div>
      <div class="bottom">
        <Card theme="theme2" title="数据现状情况"/>
      </div>
    </div>

    <!-- right -->
    <div class="right ">
      <div class="top ">
        <Card title="今日实施进度统计" :reverse="true"/>
      </div>
      <div class="bottom ">
        <Card title="累计资源数" :reverse="true"/>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import Card from "@/components/Common/Card/index.vue";
</script>

<style lang="scss" scoped>
.page-home {
  height: 100%;
  width: 100%;
  display: flex;
  --gap:40px;
  gap:var(--gap);
  > .left, > .right{
    width:25%;
    height: 100%;
    display: flex;
    gap:50px;
    flex-direction: column;
    > .top{
      height: 45%;
      overflow: hidden;
    }
    > .bottom{
      height: 55%;
      overflow: hidden;
    }
  }
  > .center{
    flex:1;
    overflow: hidden;
    height: 100%;
    display: flex;
    gap:50px;
    flex-direction: column;
    > .top{
      height: 70%;
      overflow: hidden;
    }
    > .bottom{
      height: 30%;
      overflow: hidden;
    }
  }
}
</style>
